import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// vant4
// 1. 引入你需要的组件
import  * as vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入 echarts
import * as echarts from 'echarts'
import axios from 'axios'

const app = createApp(App)

// 全局挂载 echarts
app.config.globalProperties.$echarts = echarts

// 3. 注册你需要的组件  vant4
app.use(vant);
// element-plus
app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.mount('#app')
